home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / x11 / Xincludes_930531.lha / os-include_x11.lha / os-include / X11 / Xaw / Simple.h < prev    next >
C/C++ Source or Header  |  1992-11-02  |  3KB  |  72 lines

  1. /* $XConsortium: Simple.h,v 1.11 91/07/26 19:38:53 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. #ifndef _Simple_h
  28. #define _Simple_h
  29.  
  30. #include <X11/Xmu/Converters.h>
  31.  
  32. /****************************************************************
  33.  *
  34.  * Simple widgets
  35.  *
  36.  ****************************************************************/
  37.  
  38. /* Resources:
  39.  
  40.  Name             Class        RepType        Default Value
  41.  ----             -----        -------        -------------
  42.  background         Background        Pixel        XtDefaultBackground
  43.  border             BorderColor    Pixel        XtDefaultForeground
  44.  borderWidth         BorderWidth    Dimension    1
  45.  cursor             Cursor        Cursor        None
  46.  cursorName         Cursor        String        NULL
  47.  destroyCallback     Callback        Pointer        NULL
  48.  height             Height        Dimension    0
  49.  insensitiveBorder   Insensitive    Pixmap        Gray
  50.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  51.  pointerColor        Foreground         Pixel           XtDefaultForeground
  52.  pointerColorBackground Background      Pixel           XtDefaultBackground
  53.  sensitive         Sensitive        Boolean        True
  54.  width             Width        Dimension    0
  55.  x             Position        Position    0
  56.  y             Position        Position    0
  57.  
  58. */
  59.  
  60. #define XtNcursor "cursor"
  61. #define XtNcursorName "cursorName"
  62. #define XtNinsensitiveBorder "insensitiveBorder"
  63.  
  64. #define XtCInsensitive "Insensitive"
  65.  
  66. typedef struct _SimpleClassRec    *SimpleWidgetClass;
  67. typedef struct _SimpleRec    *SimpleWidget;
  68.  
  69. extern WidgetClass simpleWidgetClass;
  70.  
  71. #endif /* _Simple_h */
  72.